package com.kede.pay.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/***
 ** @Author:Pr.li
 ** @Description:
 ** @Date: create in 2023/5/4 13:59
 ***/
@Configuration
@PropertySource("classpath:wxpay.properties")
@ConfigurationProperties(prefix = "wxpay")
@Data
public class WxPayConfig {

    /**
     * 商户号
     */
    private String mchId;
    /**
     * 商户api证书序列号
     */
    private String mchSerialNo;
    /**
     * 商户私钥文件
     */
    private String privateKeyPath;
    /**
     * api v3密钥
     */
    private String apiV3Key;
    /**
     * appid
     */
    private String shangmeAppid;

    /**
     * app 的微信appid
     */
    private String appAppid;

}
